package com.ttx.pattern.example.decoration.after;

/**
 * @author TimFruit
 * @date 2019/5/22 19:42
 */

public class ConcreteDecorator1 extends Decorator {
    public ConcreteDecorator1(Component component) {
        super(component);
    }

    @Override public void operate() {
        System.out.println("执行附加功能1...");
        component.operate();
    }
}
